home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / xfree0.4.lcm / lib / X11 / xkb / compat / misc < prev    next >
Encoding:
Text File  |  2004-03-24  |  2.5 KB  |  121 lines

  1. // $Xorg: misc,v 1.3 2000/08/17 19:54:34 cpqbld Exp $
  2. //
  3. //
  4. //
  5. // $XFree86: xc/programs/xkbcomp/compat/misc,v 1.5 2003/12/02 13:13:07 pascal Exp $
  6.  
  7. default partial xkb_compatibility "misc"  {
  8.  
  9.     virtual_modifiers    Alt,Meta,Super,Hyper,ScrollLock;
  10.  
  11.     // Interpretations for some other useful keys
  12.  
  13.     interpret Terminate_Server {
  14.         action = Terminate();
  15.     };
  16.  
  17.     setMods.clearLocks= True;
  18.  
  19.     // Sets the "Alt" virtual modifier
  20.  
  21.     interpret Alt_L+Any     {
  22.         useModMapMods= level1;
  23.     virtualModifier= Alt;
  24.     action = SetMods(modifiers=modMapMods);
  25.     };
  26.  
  27.     interpret Alt_L    {
  28.     action = SetMods(modifiers=Alt);
  29.     };
  30.  
  31.     interpret Alt_R+Any     {
  32.         useModMapMods= level1;
  33.     virtualModifier= Alt;
  34.     action = SetMods(modifiers=modMapMods);
  35.     };
  36.  
  37.     interpret Alt_R    {
  38.     action = SetMods(modifiers=Alt);
  39.     };
  40.  
  41.     // Sets the "Meta" virtual modifier
  42.  
  43.     interpret Meta_L+Any     {
  44. //        useModMapMods= level1;
  45.     virtualModifier= Meta;
  46.     action = SetMods(modifiers=modMapMods);
  47.     };
  48.  
  49.     interpret Meta_L    {
  50.     action = SetMods(modifiers=Meta);
  51.     };
  52.  
  53.     interpret Meta_R+Any     {
  54.         useModMapMods= level1;
  55.     virtualModifier= Meta;
  56.     action = SetMods(modifiers=modMapMods);
  57.     };
  58.  
  59.     interpret Meta_R    {
  60.     action = SetMods(modifiers=Alt);
  61.     };
  62.  
  63.     // Sets the "Super" virtual modifier
  64.  
  65.     interpret Super_L+Any     {
  66. //        useModMapMods= level1;
  67.     virtualModifier= Super;
  68.     action = SetMods(modifiers=modMapMods);
  69.     };
  70.  
  71.     interpret Super_L    {
  72.     action = SetMods(modifiers=Super);
  73.     };
  74.  
  75.     interpret Super_R+Any     {
  76.         useModMapMods= level1;
  77.     virtualModifier= Super;
  78.     action = SetMods(modifiers=modMapMods);
  79.     };
  80.  
  81.     interpret Super_R    {
  82.     action = SetMods(modifiers=Super);
  83.     };
  84.  
  85.     // Sets the "Hyper" virtual modifier
  86.  
  87.     interpret Hyper_L+Any     {
  88. //        useModMapMods= level1;
  89.     virtualModifier= Hyper;
  90.     action = SetMods(modifiers=modMapMods);
  91.     };
  92.  
  93.     interpret Hyper_L    {
  94.     action = SetMods(modifiers=Hyper);
  95.     };
  96.  
  97.     interpret Hyper_R+Any     {
  98.         useModMapMods= level1;
  99.     virtualModifier= Hyper;
  100.     action = SetMods(modifiers=modMapMods);
  101.     };
  102.  
  103.     interpret Hyper_R    {
  104.     action = SetMods(modifiers=Hyper);
  105.     };
  106.  
  107.     // Sets the "ScrollLock" virtual modifier and
  108.     // makes it actually lock when pressed.  Sets
  109.     // up a map for the scroll lock indicator.
  110.     interpret Scroll_Lock+Any    {
  111.     virtualModifier= ScrollLock;
  112.     action = LockMods(modifiers=modMapMods);
  113.     };
  114.  
  115.     indicator "Scroll Lock" {
  116.     allowExplicit;
  117.     whichModState= Locked;
  118.     modifiers= ScrollLock;
  119.     };
  120. };
  121.